Release 2.0.0 security boundary hardening - #8
Conversation
Add security modes, audit and connection-boundary controls, docs and role guidance, packaging/verifier gates, and broad test coverage. Harden tool behavior around schema-qualified metadata, sanitized diagnostics, bounded query/export/copy output, filesystem sandboxing, enum/schema DDL, and import validation.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5b7a40bf6b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| return { | ||
| host: decodeURIComponent(parsed.hostname).toLowerCase(), |
There was a problem hiding this comment.
Strip IPv6 brackets before target matching
For URL connection strings with IPv6 hosts, Node's URL parser leaves parsed.hostname bracketed (for example [::1]), while parseAllowedConnectionTarget('[::1]:5432/db') stores the host as ::1 after removing the brackets. As a result, an explicitly allowlisted IPv6 target is denied even though the connection string matches the documented bracketed IPv6 format.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 68ce815bb2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: deb98caf67
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Breaking changes
Verification